package cn.iocoder.yudao.module.book.dal.dataobject.members;

import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 班级成员 DO
 *
 * @author xi
 */
@TableName("class_members")
@KeySequence("class_members_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ClassMembersDO extends BaseDO {

    /**
     * 成员id
     */
    @TableId
    private Integer membersId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 班级id
     */
    private Integer classesId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Boolean deleted;

}